﻿//  Reader Common Config
define(function (require, exports, module) {
    var FXREADER = require('./FXReader');
    /**
     * @name FXREADER.Lang
     * @namespace 
 	* @description namespace for language of web reader.
 	 the items of English shown as following.
 	 *<pre>
 		FXREADER.lang['en-us'] =
	    {
	        ParseError:
	        {
	            PasswordIncorrect: "Invalid password. Please try again.",
	            EnterPassword: "This file is password protected. Please enter the password to open it.",
	            FailToOpen: "Failed to open the file.",
	            VerifyForwardError: "Verification failed.",
	            ErrFormat: "Format error: not a PDF or corrupted.",
	            ErrPassword: "Invalid password.Please try again.",
	            ErrHandle: "Failed to open the file. This file has been encrypted by some unsupported security setting.",
	            ErrCert: "Failed to open the file. This document has been encrypted by digital certificate.",
	            LoadError: "Load Document Error!",
	            LicenseError: "Authorization failed.",
	            ErrPage:"Pdf conversion pages beyond the limit",
	            UnKnown: "Unknown Error!"
	        },
	        Search:
	        {
	            NoMoreMatch: "Reader has finished searching the document. No more matches were found.",
	            NoFound: "Reader has finished searching the document. No matches were found.",
	            SearchFail: "Search failed.",
	            FindPrev: "Find previous",
	            FindNext: "Find next"
	        },
	        CommandUI:
	        {
	            GoFirstPage: "Go to first page",
	            GoPrevPage: "Go to previous page",
	            GoNextPage: "Go to next page",
	            GoLastPage: "Go to last page",
	            ZoomIn: "Zoom in",
	            ZoomOut: "Zoom out",
	            FitWidth: "Fit Width",
	            DownloadPDF: "Download original PDF File",
	            HandTool: "Hand Tool",
	            TextSeletionTool:"Text Selection Tool"
	        },
	        BookMark:
	        {
	            Title: "Bookmark"
	        },
	        OffLineReader:{
	        	Title: "Offline readering"
	        },
	        DocProperties:
	        {
	            Title: "Document Properties",
	            PDFTitle:"Title:",
	            Subject: "Subject:",
	            Author: "Author:",
	            Creator: "Creator:",
	            Producer: "Producer:",
	            Keywords: "Keywords:",
	            CreateDate: "Created:",
	            ModifyDate: "Modified:",
	            PDFVersion: "PDF Version:",
	            PageSize:"Page Size:",
	            Inch: "inch",
	            Centimeter:"cm",
	            Point: "point",
	            Pica: "pica",
	            NumOfPages: "Num of Pages:",
	            OKBtnTitle: "OK"
	        },
	        Menu:
	        {
	            PrevPage: "Previous page",
	            NextPage: "Next page"
	        },
	        ThumbNail:
	        {
	            Title: "Thumbnails"
	        },
	        ToolBar:
	        {
	            MainUrlTipInfo: "Into Foxit Cloud"
	        },
	        ProgressBar:
	        {
	            Loading: "Loading..."
	        },
	        CommonDialog:
	        {
	            DefaultDlgTitle:"Foxit PDF Web Reader",
	            DefaultOKBtnTitle: "OK",
	            DefaultCancelBtnTitle: "Cancel",
	            EnterPasswordTip: "Password:",
	            DefaultCloseBtnTitle: "Close",
	            TextCopyLimitMsg:"Your current browser is not able to copy the text directly. Please copy the text manually."
	        },
	        Annot:
	        {
	            ClosePopupAnnot: "Close"
	        },
	        Form:
	        {
	            HighlightButTitle: "Highlight Fields",
	            HighlightButText: "Highlight",
	            ExportDataButTitle: "Export data",
	            ExportDataDlgTitle: "Export data",
	            ExportDataDlgBut_Cancel : "Cancel",
	            ExportDataDlgBut_Ok : "OK",
	            ExportDataPDFFormat: "PDF Format",
	            ExportDataFDFFormat: "FDF Format",
	            ExportDataXMLFormat: "XML Format",
	            ExportDataPDFNote: "Export data to PDF file",
	            ExportDataFDFNote: "Export data to FDF file",
	            ExportDataXMLNote: "Export data to XML file",
	            IDS_FX_GTET: "Invalid value: must be greater than or equal to ",
	        	IDS_FX_LTET: "Invalid value: must be less than or equal to ",
	        	IDS_FX_AND_LTET: " and less than or equal to ",
	        	IDS_FX_DF: "Date format must be: ",
	        	IDS_FX_TF: "Time format must be: "
	        }
	    };
 	 *</pre>
     */
    FXREADER.lang = {};
    return FXREADER.lang;
});


